	// set the MathML to editor
	var editorSwf = getSWF('editorId');
	editorSwf.setMathML('<mrow>...</mrow>');
	
	...
	// get the MathML string from editor
	var mathML = editorSwf.getMathML();
	
	// set the LaTeX to editor
	var editorSwf = getSWF('editorId');
	editorSwf.setLaTeX('\\[x^2+2x+1\\]');
	
	...
	// get the LaTeX string from editor
	var latex = editorSwf.getLaTeX();
	
	...
	// get the width of formula
	var width = editorSwf.getWidth();
	
	...
	// get the height of formula
	var height = editorSwf.getHeight();

	...
	// generate the image on server side
	editorSwf.saveImageOnServer();
		//the editor will call the javascript method setFileNameFromServer 
		//with the complet path and name of the image.
		// The image will be generated with the default configuration from editor 
		//defaultImageType and defaultImageCompression 
	You need to have a server to generate the image. More info ...

	// view the image in browser
	editorSwf.viewImageInBrowser();
		// The image will be generated with the default configuration from editor 
		//defaultImageType and defaultImageCompression 
	You need to have a server to generate the image. More info ...
	
	// get jpg base64 image from component, the second parameter is compression
	var base64String = editorSwf.getBase64Image('JPG', 100);
	
	// get png base64 image from component
	var base64String = editorSwf.getBase64Image('PNG');